import req from './httpAxios'
/**
 * 日历信息
 */
export const getAxiosCalendar = param => {
  return req.get('/calendar',param)
}

/**
 * 天气信息
 */
export const getAxiosWeather = param => {
  return req.get('/weather',param)
}

/**
 * ip和地址-高德
 */
export const getAxiosIpAndAdd = param => {
  return req.get('http://restapi.amap.com/v3/ip?key=a8c0136077db6767e674c21c4275646f',param)
}

/**
 * 日历
 */
export const getApplinziCalendar = param => {
  return req.post('/api/hitokoto/',param)
};

/**
 * 妹子图
 */
export const getMeizitu = param => {
  return req.post('/api/xxoo',param)
};

/**
 * 上传
 */
export const upload = param => {
  return req.post('/api/fileManage/weUpBase64',param)
};

/**
 * ios->model
 */
export const getApplinziIiOSModel = param => {
  return req.post('/api/ariseJson',param)
}

/**
 * ios->http
 */
export const getApplinziIiOSHttp = param => {
  return req.post('/api/ariseHttp',param)
}

/**
 * node->sql
 */
export const getApplinziINodeSQL = param => {
  return req.post('/api/sqlite',param)
}

/**
 * node->curl
 */
export const getApplinziINodeCURL = param => {
  return req.post('/api/test',param)
}

/**
 * 保存小程序信息
 */
export const getApplinziISaveGroupInfo = param => {
  return req.post('/xcx/group/saveGroupInfo',param)
}






